package com.lingxu.api.ztb.mapper;

import com.lingxu.api.ztb.model.ViewConstructionDrawDesign;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingxu.api.ztb.model.vo.ViewConstructionDrawDesignVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;

/**
 * 施工图设计批复 Mapper接口
 *
 * @author admin
 * @since 2025-10-10
 */
@Mapper
public interface ViewConstructionDrawDesignMapper extends BaseMapper<ViewConstructionDrawDesign> {
    /**
     * 查询施工图设计批复
     *
     * @return
     */
    List<ViewConstructionDrawDesignVO> selectViewConstructionDrawDesignList(@Param("query") ViewConstructionDrawDesignVO vo);

    IPage<ViewConstructionDrawDesignVO> pageList(@Param("page") Page<ViewConstructionDrawDesignVO> page, @Param("query") ViewConstructionDrawDesignVO vo);

    List<ViewConstructionDrawDesignVO> getDataForExport(@Param("query") ViewConstructionDrawDesignVO vo);

    void createTempTable(@Param("batchFlag")String batchFlag);
    void insertTempTable(@Param("list") List<ViewConstructionDrawDesignVO> dataList, @Param("batchFlag")String batchFlag);
    void insertTable(@Param("batchFlag")String batchFlag);
    void dropTempTable(@Param("batchFlag")String batchFlag);
}
